package win.demonlegion.service.inte;

import win.demonlegion.mapper.BaseMapper;
import win.demonlegion.module.UserDetailBean;

/**
 * @Author:Samson
 * @Description:
 * @Date:Created in 2017/5/24.
 */
public interface UserDetailService extends BaseMapper<UserDetailBean> {


    /**
     * 查询用户详情
     * @return
     */
    UserDetailBean findById(String id);


    /**
     * 个人信息修改
     * @param detail
     * @return
     */
    int update(UserDetailBean detail);
}
